Channels
This module provides methods for managing channels within Rainbow.
The Channels interface offers functionality to interact with channels created or joined by the user. It enables users to browse, create, manage, and participate in various communication channels. A channel can be associated with a category and may include posts and users who can interact with them.
This interface can be used to:
Retrieve joined channels: Access a list of channels the user is currently a member of.
Retrieve available channels: Browse public or discoverable channels available to join.
Create new channels: Allow users to create and configure their own channels for specific topics or groups.
Join or leave channels: Manage channel memberships by joining or leaving specific channels.
Modify channel settings: Update channel details, such as name, description, visibility, or access permissions.
Search for channels: Look up a specific channel by its unique identifier or name.
Samples
com.ale.rainbowsdk.samples.ChannelsSampleTypes
Interface defining callbacks for handling events related to Channels within the SDK.
Properties
Get all channels (user's, owned, subscribed, pending, and most followed/recent). The returned ArrayItemList object allows you to listen for changes.
Get all channels the user owns.
Get all channels with pending membership requests for the user.
Get all channels the user has subscribed to.
Get all channels the user is owner, a member of or invited to.
Get the ten most followed channels the user is allowed to view.
Get the ten most recent channels the user is allowed to view.
Functions
Accept an invitation to join a specific channel.
Add users to a channel.
Browse and filter channels based on specified criteria.
Create a new channel with specified parameters.
Create a closed channel that is not discoverable by search.
Create a new item in the specified channel.
Create a public channel visible within the company.
Decline an invitation to join a specific channel.
Remove all users from the specified channel.
Delete a channel.
Delete the avatar for a specific channel.
Delete an item (post) from a specific channel.
Delete users from a channel by removing their affiliation.
Fetch items from a specific channel.
Fetch channels by specified categories.
Fetches channels by their description.
Fetches channels by their name.
Fetch the latest items across all channels.
Fetch the most followed channels.
Fetch the most recent channels.
Fetch reactions for a specific channel item.
Fetch users from a specific channel.
Fetch users matching a given name from a specific channel.
Retrieve a channel by its unique ID from local data.
Retrieve a channel by its name from local data.
Mark all items (posts) in a channel as read.
Mute notifications for a specific channel.
Register a listener to receive notifications about changes in the list of channels.
Registers a listener to receive notifications about channel events.
Remove the user's reaction for a specific item in the channel.
Search for channels based on various criteria.
Subscribe to a specific channel.
Unmute notifications for a specific channel.
Unregister a listener to stop receiving notifications about changes in the list of channels.
Unregisters a previously registered listener to stop receiving notifications about channel events.
Unsubscribe from a specific channel.
Update a channel's details.
Update an existing item in the specified channel.
Update the user's reaction for a specific item in the channel.
Update users' affiliation in a channel.
Upload an avatar for a specific channel.